<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>{{getsiteconfig "site_title"}}</title>
    <meta content="{{getsiteconfig "keywords"}}" name=keywords>
    <meta content="{{getsiteconfig "description"}}" name=description>
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link href="{{ossUrl}}/resource/home/static/css/base.css" rel="stylesheet">
    <link href="{{ossUrl}}/resource/home/static/css/markdown.preview.css" rel="stylesheet">
    <link href="{{ossUrl}}/resource/home/static/css/github.css" rel="stylesheet">
    <link href="{{ossUrl}}/resource/home/static/css/editormd.preview.css" rel="stylesheet">
    <script src="{{ossUrl}}/resource/home/static/js/jquery.js"></script>
    <script src="{{ossUrl}}/resource/home/static/js/nav.js"></script>
</head>
<body>
<header>
    <div class="touxiang"><i><img src="{{getsiteconfig "sitethumb"}}" alt="杨青青"></i>
        <h2>{{getsiteconfig "site_title"}}</h2>
        <p>{{getsiteconfig "description"}}</p>
    </div>
    <div class="search" style="width: 30%; float: right;margin: 20px 0;">
        <form action="" method="post" name="searchform"
              id="searchform">
            <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词"
                   style="color: rgb(153, 153, 153);"
                   onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}"
                   onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
            <input name="show" value="title" type="hidden">
            <input name="tempid" value="1" type="hidden">
            <input name="tbname" value="news" type="hidden">
            <input name="Submit" class="input_submit" value="搜索" type="submit">
        </form>
    </div>
    <nav>
        <ul>
            <li><a href="/">首页</a></li>
            {{ range $v := catelist 0}}
                <li><a href="/list/{{$v.Id}}">{{$v.Catname}}</a></li>
            {{end}}
        </ul>
    </nav>
</header>
<!--header end-->